Creates a unit vector from a given x and y coordinate.
A unit vector with the same direction as the coordinates.
The x-coordinate of the vector.
The y-coordinate of the vector.
if both x and y are zero.